package com.ruicar.afs.cloud.afscase.infomanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseCustInfo;
import com.ruicar.afs.cloud.afscase.infomanagement.vo.CustomerInfoVo;
import com.ruicar.afs.cloud.afscase.infomanagement.vo.InterfaceInfoVo;
import com.ruicar.afs.cloud.common.modules.contract.cms.vo.CustBaseInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-25 18:14
 */
public interface CaseCustInfoMapper extends BaseMapper<CaseCustInfo> {

    /*
    * 根据申请号获取客户主要信息
    * */
    CustomerInfoVo getCustomerInfo(@Param("applyNo")String applyNo, @Param("role")String role);

    /*
    * 根据申请号获取客户的其他信息
    * */
    InterfaceInfoVo getCustomerOtherInfo(@Param("applyNo")String applyNo);

    /*
    * 根据申请号获取银行卡信息
    * */
    List<CustBaseInfoVo> getBankInfoByApplyNo(@Param("applyNo")List<String> applyNo);
}
